{extend name='admin@main'}

{block name="content"}
<div class="think-box-shadow">
    {include file='amount_log/index_search'}
    <table class="layui-table margin-top-10" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <th class='list-table-check-td think-checkbox'>
                <input data-auto-none data-check-target='.list-check-box' type='checkbox'>
            </th>
            <th class='text-left nowrap'>会员信息</th>
            <th class='text-left nowrap'>会员手机号</th>
            <th class='text-left nowrap'>添加时间</th>
            <th class='text-left nowrap'>积分</th>
            <th class='text-left nowrap'>备注</th>



        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key=>$vo}
        <tr>
            <td class='list-table-check-td think-checkbox'>
                <label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
            </td>
            <td class='text-left nowrap'>
                会员Id : {$vo.user.id|default='--'}
                <br>
                {notempty name='vo.user.headimg'}
                <img data-tips-image style="width:20px;height:20px;vertical-align:top" src="{$vo.user.headimg|default=''}" class="margin-right-5">
                {/notempty}
                <div class="inline-block">{$vo.user.nickname|default='--'}</div>
            </td>


            <td class='text-left'>
                {$vo.user.phone|default='--'}
            </td>

            <td class='text-left'>
                {$vo.create_at|format_datetime}
            </td>


            <td class='text-left'>
                {$vo.score|default='0'}
            </td>

            <td class='text-left'>
                {$vo.memo|default=''}
            </td>


        </tr>
        {/foreach}
        </tbody>
    </table>
    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
</div>
{/block}

